package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.bean.News;

import java.util.List;

public interface NewsService {

    /*
        分页查询
     */
    PageInfo<News> findByPage(int currentPage, int pageSize);


}
